import { loginreq } from './axiosFun';

// 登录接口
export const logins = (params) => {
  return loginreq('post', '/login/toLogin', params);
};

// 获取验证码
export const getKeyword = (params) => {
  return loginreq('post', '/noper/getKeyword', params);
};

// 修改手机号码
export const updatePassword = (params) => {
  return loginreq('post', '/noper/updatePassword', params);
};

// 获取手机验证码
export const getUpdatePasswordKeyword = (params) => {
  return loginreq('post', '/noper/getUpdatePasswordKeyword', params);
};

// 获取图形验证码
export const getCaptcha = (params) => {
  return loginreq('post', '/login/getCaptcha', params);
};

//获取资源短信联系人信息
export const getNotifier = (params) => {
  return loginreq('post', '/user/getNotifier', params);
};

